package Dibujar;

import java.awt.Graphics;

import javax.swing.JFrame;

@SuppressWarnings("serial")
public class Cuadrado extends JFrame implements Figura {
	private int x;
	private int y;

	@Override
	public void paint(Graphics g) {
		super.paint(g);
		g.drawRect(x, y, 50, 50);

	}

	public void setX(int x) {
		this.x = x;
	}

	public void setY(int y) {
		this.y = y;
	}
}